package com.baike.service;

import com.baike.entity.TbStudentDiscounts;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author libin
 * @since 2021-11-01
 */
public interface ITbStudentDiscountsService extends IService<TbStudentDiscounts> {

    TbStudentDiscounts selectDiscounts(Integer studentId, Integer discountsId);

    //增加一张优惠券
    void insertDiscounts(Integer studentId, Integer discountsId);

    //给该用户优惠券加一
    void updateStudentDiscountsCount( Integer studentId, Integer discountsId,Integer num);
}
